package com.lin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lin
 * @since 2022-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("department")
public class    Department implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "did", type = IdType.AUTO)
    private Integer did;

    @TableField("id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("charge_name")
    private String chargeName;

    @TableField("phone")
    private String phone;

    @TableField("description")
    private String description;

    @TableField("deleted")
    private Boolean deleted;


    public static final String DID = "did";

    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String CHARGE_NAME = "charge_name";

    public static final String PHONE = "phone";

    public static final String DESCRIPTION = "description";

    public static final String DELETED = "deleted";

}
